package study.itheima.dao;

import org.apache.ibatis.annotations.Results;
import org.apache.ibatis.annotations.Select;
import study.itheima.domain.Items;

public interface ItemsMap {
    @Select("SELECT * FROM items WHERE id IN(SELECT items_id FROM orderdetail WHERE orders_id=#{id})")

    Items findByOid();
}
